Don't hide register behind if statement