Currently working on refresh function.