adding some favorites code