Test function separately
Writing the head with stylesheet