start trying to make map function