UK: pep8 cleanup, refactor show function