use passed context in order to evaluate input decoders

fixes #12