finished work with game modal