restored rectbuilder