reordered and added a couple comments
added initial display