better main example