removed dependency on rainman