renamed misc.c to shared.c, shared.c without prefixes now