working on auto rebuild.