added cam_select functionalikty