removing unnecessary garbage.