Renamed the comp function