second problem and some testing stuff