forgot to add minimal value testing, had to add it