changed from spine to head and fixed trailing spaces problem