Please add javadoc to explain function usage for example:

<pre>
def chooseComponent(componentName):
    """
    Explain the purpose of the function, how to use it. What inputs it takes and what output it provides.
    """
</pre>