changed the self calling function return value to TennisGame