making use of datasets
remodelling for coding convention
movement of js to external file