add printWidth variable for convenient