removed debug statement and fixed whitespace