rewriting of add page