config sharing. feel free to take any of this