and it was the jade maidens of purity and harmony who taught zhang daoling how to exhale and inhale the pure and harmonious vital breath , so that after practising for one thousand days , he saw the bodily elements allowing him to invoke the deities .