Reorganized methods according to the html page they work with