add read data map function.