Changed the way to get signature.