making the baron less dependent on external lib