sample from bmapp.