added guard if no games