change removeView signature and inline comments