Removed debug outputs. Oops!