add username and debugging