tried declaring the variable quantity as a string