change amt to amount
make factory for plan