draft.c - updated (working?)