cleaning up jenks, making it more modular