Comlete some function