added import for LRI, now inserts into DB