results can be added, player keys changed to name, error handling added, other minor fixes