map almost working