#10 add available flag.