implementing log view