Adding service function to mimic linux