>>7443315Both, depending on your needs. My local hobby store doesn't seem to carry them in any sort of practical quantity so I always buy mine on the internet. Do a little bit of research into your specific locomotive type before you run out and buy a decoder, or you might end up with the wrong one.