added multimed.c and the whole new mess is there. a lot of work. i think i'm going in loops