added show_code