overall and first funcion
first function finished
second function finished