Working version minus robotlistener