[Hint] improved performance and code readability