[#5]Changed construtor to be in 3 lines