adding colours, print by rank has a bug.