added ability to generate signature + timestamp