starting to work on dog.c