added dynamic favoriting