add save method
adding the save search method