code for some online website problem