Made the slop options more flexible by nesting the statements