merged two function calls to one embeded one in bcc()