codes specific for Kaggle data analysis