common function to convert column names to method names
cleanup return types