Write pseudo implementation