updated to avoid conflicts with cookie package