Changed to explicitly declaire standard input and output