asterisks partially work, but code is messy