There is a problem with the logic,