Elementary abelian subgroups in some special 𝑝-groups