parser for condition