tried to do testing, failed, clean up code and now i will write a doc