removed unused variables

removed the vars and functions we werent using