How to use variables as head ?