return value check