class persistence