type and amount script working; output is messy, but that's okay