This would be better as an if, it's pretty difficult to read as it sits