very simply beam realization - just for test