implementing reloading classes