removing duplicate teddit api homework