There is a similar question on this site, where I answered giving an example of how to do this. Here is my answer: