validation tool. just writing out to console