added draw methods and fixed a minor bug