Coding the constructor