added observation output and reward output