file moved to helpers directory and function for preparing percentage format made more accurate