removed pesky redundant code in next_sequential_id