style match rest of code, remove clunky slice call