Nice suggestion!. I should have seen this by myself before duplicating similar code.