we can use here a loop as well in order to have less lines of code