toy code for functional IF work
fun with IFs