how to use star method correctly