add a sample mechanism for attribute mapping
add a sample mechanism for attribute mapping