added condition whether if x have null value or not