+call main functions from shared