still testing the code