def working