add debug mode and hitbox