implemented refresh ability