Adding support for compare view
Version bump: 1.4
Adding comments about what the functions do