NASHVILLE, Tenn. (WKRN) – A bill designed to keep guns out of the hands of children will get its first vote Tuesday in the Tennessee Senate Judiciary committee.

The bill, called Makayla’s Law, would make it a felony for gun owners to recklessly leave a gun loaded and accessible to a child.

The proposal is named for MaKayla Dyer, and 8-year-old girl shot to death in October 2015 outside her east Tennessee home.

Dyer was allegedly shot by and 11-year-old boy because Dyer wouldn’t let him play with her dog.

The bill has already stirred controversy. The National Rifle Association put out an alert to members to contact members of the Senate Judiciary Committee to express their displeasure over the bill.

The Safe Tennessee Project criticized the NRA’s opposition to the plan, saying the gun rights group often speaks of the importance of safe gun storage.

If passed, SB2294 would go into effect February 2017.