toColumns method and proper parameter namings