adding other functions