write and pass sepcs to determin id of entry