Added first version of assembly sampler loop