work on z order and removing staff