change protocol packate init() to Init() to allow import and switch between multiple protocols