updated dispensing and camera code