Use drawRect: and refactor code
Modify version