initialize mapping in page