#decoder setup