only -main func left