close(boolean) method filled