added some missing func