Solution to logic hole