changeing soem offlne functions