searching and playing working