fix bug, use sample size to determine significance