used component listener to draw shapes on load