add both functions