primitive reconstruction working