small format changes. rename readpop function