added code to print out system information