...i should really remove debug code before committing...