add descrp of main func