creating camera structure