adding issuing function