continued work on modification code