Renamed main functions