removing unused branches. update of doDatacard