commented out readkey for debugging purposes