I am trying to find an alternative to the below code because I want to remove the tomahawk-sandbox-1.1.7 dependency as it is causing some version mismatch issue with tomahaw