new jenkins widget
refactor for more efficiency