assign initial endpoints