code cleaning: int main ...