leanred a bit about functions