therd way to generate halm
create slice of alm
better timer is required