started work on JDay's topology algorithms