THIS CODE DICTATES SAFE BEHAVIOR