added parsing for turn