remove unneeded decrypt function