Added getMapped function