added search stuff