totally refactored this shit to make the next part a bit easier. much prettier now.