include prime numbers but poor implementation