added bg check method