added ranked scoring, updated directions