edit camera orientation and delete function