added auto building