adding reload-handler