remove unnecessary code
eliminate wrong premature optimization