cleaned up addnew and allow it to be move configurable