controller which reads a bar code value