planning and carrying out investigations