Added online server function