more steps towards search, not working yet