added decrypt method just for the sake of it