changed to python and implemented a sample project