Implement basic writer