start using fread, still not working