write ops section and some small changes