HUGE code optimalisation & buy prep's