take in changes of the main