added new parts and using isActive to activate the motion