added minor changes and loading dataset