is important not to repeat our code. So a function is perfect.