merged camera program with my program