moved styling logic