caurnd know compiles and gives seemingly correct results