Transfered some functions