Added callMethod function and some code
Testing new functions