remove unnessary newtype wrapper and add type signature