almost got Chart form working