added basic draw view
remove warnings