added if statements to cutdown system