mapping almost works