added reflog functionality