Add new feature

log mapping function