Since some of the nested if statements are immediately checked if the first one evaluates as true, just using some `&&`'s might make it a bit cleaner. But really not that huge of a deal.