controller drawing