added some other functions