some stuff with if