added style model and relation