randomFilling method