working through shiba.c