Move var keyword to reduce complexity