add fprintf to change