+ added getOutputX and getOutputY