added wrap-reload for easier debugging