Added Camera and grid functions