added debug variable