changed view design, added compare methods