To complete basic functions