ML - Java with references

still need to actually implement it.
big problem -- spectrograms.