Map

create map function, needs improved, will let tyler handle