before must close
before simpler close
working, before big changes
simpler close