allowing errors in write