b.function added