added printf and scanf declarations