adding class InsertIntoStreamCallback