added some helpers for camera handling