added meta data population to controller