addeds code to not allow tied scores