Added hackon function utility