added a load active games function