For COGS120 class project