Comparison currently not working, needs more debugging