removing header, renaming vars for readability