added some specific functions