Change .map to .each in package model