generating and signing request - proof of concept