setup of if conditional