added setup and reset partial