Ok but what is the problem you are having to implement what you wrote here?