adding more to the retrieve games function