make two paint functions