working on camera and entity behaviour