signing function for the selected act