implement return statement