Added fprintf