for learning how to use the funtion