write on no pins policy, clean up + comments