change main.c form . to ->