Fixed qi
Pretty-print in show method