adding hidden functions.