added debug action
removed forgotten print statement