remove bg sample code