a few conditionals added if results aren't present