added functions cache