file organization and code for hover-line