Not sure I like having to pass a debug string as part of the API