Raw porting to dbstruct system done