adding decoder given