working on the refresh command