added setup and alerts