renamed obst_mask to create_mask, because this makes more sense.