Created constructors for required attributes