Added int result and switched up print statement (foo, bar) to plug into new var.