1.Add some function for judgement