working on views
updated deals view to objects