edited roy's test