Add debug. Flesh out.