started on compare behavoir reimplementation