added parsing for RESULT