add legacy functions for camera