How can I use the "less than" function in conditions?