Martin what you are trying should work.
Can you share more details on what problems you are encountering?