updated for julia v0.2.0; now works!