load and unload entities