legacy finished, but needs debugging. writing the specs for using the legacy helper