Removed printf debugging output.