viewall button working and some small changes.