added available_space? method