added some getfunctions