did a little bit of debugging