working on pets selected page