changed IR reading as non-blocking