This is how my source file looks like:
It's a bit ugly but it does what you want and sorry if the first time did not understand well.