added some function dokus