added amps variable