updated l2cache that actually compiles