deletes unnecessary stuff