took out unnecessary variables;