created conditionals activity