basic draw routine