started rewriting pola() - this is way overblown