making the function more performative