debugged second round