removed public/private
added define to create models