working on result viewing