Properly created constructor and attributes