Error handling
Modify star and unstar function