add canwrite