added basic implementation of reload()