bp.c and bp.h structure completed