implemented petes suggestions for restults page