Optimized line 29 - 33