added Camera function