add service and window