can u put some example code of how exactly u did it..?