add maxRows function
modify help comment