assign on me function