used his code