add control for charge up