added timestamp and removed debug