debug and clean. Still cache that has to be rewritten