added IF()

struct syntax is wrong