populate class helper