added cache #24

#24