collapse if statements
fix inverted logic
fix inverted logic
rename variable
server cast int to string only where it is needed