removed drawRect method