this if and the one below can be in one line.