added feature nested single expression checking