Added some not working code to RECSearch.java