Defined the constructor and size.