added more helper functions in acrobot