add if, while and match statements