use helper method instead of extension class.