Fix deletion bug; change List to newtype