Uncommented if statement for real device testing