working on add page field functionality