added lame. todo: make this optional