Solved problem:
--------------------------------
Extendable functions based on Callback Functions