fleshed out initial draw routine