check if p is a proportion from Sarah

trying it out!