now amnm returns a structure as a result