data, code for BiSSE