added position to the output - nothing on th functionality was changed