#3 elliminate misc.h from text views' implementation