Moved process to function