starting to simplify bucketfill method