made unit inherit from draw object