created the main methods and control for non imported execution