copy function improved and some css has been added
more styling