Removed printf statements