finalizing details to paint objects on the screen