some debugs added