removed returns nested in IF statements