return value parsing