What was the purpose of the slave codes?
to allow slaves to have more control over their lives
to provide rules for slave owners to follow
to free slaves after working a certain number of years
to restrict travel and communication among enslaved people