minor refactor, adding a helper function to clean up a promise success handler
minor
use the saved instance of slice where applicable in router
remove logging