Adding entire draw code