Sweeping the kitchen floor is a good idea and you should do it more often. But when dumping the contents of the dustpan into the trash,
make sure that the trash can is actually in the container. Otherwise you're just dumping things back onto the floor.