added Then context parser