-adding some additional options to BMAfunction