made a function so I didn't type things again and again.