map almost works