Move writer inside