Implementing 'Try it' function