mapping with statements