setting up a web version of the IF