Allow function to handle stars