moved styling into json