implemented refresh sans functionality