named props instead of an array