begining debug