bar code detection added