convert definition to lwrp