make name a defined type as it's very common
made it easier to define object property types