change definition to pointer