Added a debug variable for ease