prettify defination of models