use 'iputStrLn $ show' instead of 'print' to work nicely with ideslave