I just tried to simplify this code, it's only suggestion.