moved user_columns function