added minor changes when writing paper