cleared functions