add each method to B