draft code. something about it is still jamming up but I'm not sure where