added some funct