changes made to the source code to add few new features