Map Function Not Working

I am trying to make an analog value from 80 to 487 convert into 180 degree values using a map function.

here is my code:

int analogPin = 3; **
void setup()
{
** Serial.begin(9600); **
}
void loop()
{
** int val = analogRead(analogPin);

** map(val, 80, 487, 0, 179);**
** Serial.println(val); **
}

I made it print each value but when I open the Serial Monitor it is not changing the values to degrees. If you know what I did wrong please help. Thanks!

void loop()
{
  int val = analogRead(analogPin); 
  int position = map(val, 80, 487, 0, 179); 
  Serial.println(position));             
}

BulldogLowell:

void loop()

{
  int val = analogRead(analogPin);
  int position = map(val, 80, 487, 0, 179);
  Serial.println(position));           
}

This worked! Thanks!

(deleted)