modified game initiate function