added show change log, cleaned up code