edited up to iterative process, removed prefixes