got IF statements working