started work on take picture functionality