Put all into main