created a type component