Using list comprehensions and cleaner lists, reduced redundant and messy code.