initial kache implementation