added ravens lfd code. not tested