display and draw methods implemented.