some ugly debugging