set up dagger; implement getBins

set up dagger; implement getBins