preliminary submission logic. fix scoping problem in add entry object

--HG--
branch : noink