add julia helper functions