this is my multifunction code !