generate more pretty code