lib for charcoal