function for fill all ram added