basic code to test hardware and features