adaptations for use in special calvalus version with BEAM 4.11