 Taoism on the other hand also incorporated Buddhist elements during the Tang period , such as monasteries , vegetarianism , prohibition of alcohol , the doctrine of emptiness , and collecting scripture in tripartite organisation . 
