Was this what you were trying to do?