throw out unnecessary variables