added rank column. changed messages