commit creating custom view's lesson 4: optimizing view