synched to UVA; fixed problems with compare feature