Reduced lines in write handler