code: eliminated unnecessary slice indirection