describle overall of both functions