expand the code and remove background