adding some debugs