populate class members helper