initial styling and functionality