nit: dicard -> discard