added on game ready function