added the final changes and test into jenkins