basic layout and cam working