int definitions and example standalone test