adding node availability check