implements simple keyMapper