reconstruction of the whole app