picture taking functionality from outside repo