spped up and debug