started implementing camera take functionality