Confirmed working, removed debug statement.