Initial final code for interception search and edit