prepare code for signing feature