cache functionalit added