delete
refresh function