remove takePhoto method