Commenting and added exception handling for element searching in power.