added decode
added decode