So what have you tried with this because it does not seem to be a very difficult logic.