serve method