Change main func