finish all part of function except return value check