added first draft of binned stuff