alex for index's css and register function