simple performances optimization