avoid creating an object in every call

This was a suggestion of @carlosantoniodasilva, thanks!