Loading main functions....