type classes added correct sizes