parser now identifies and creates a selector for main methods