ENH:finish all common function for BLL