created thread safe bill method