hooks and slices on purpose