To me this function is not related to field so it should be moved to a better context