bugfix: moved data replace call higher in chain
preliminary 'makeObj' function
progress commit