deleting refresh method