added code to test if the code is working or not, end of the file