Better if implementation.