Initial version of OTP Writer