then why have an if block here?