take photo feature is working