Added getModalB3 functiofunction