writer implmenetation
added hoas