added graphics and collision