moved lfx to external file