I would create a private getter instead of duplicating the logic