added some more functions