made if statements in save one line