Applying a operation to an existing program