Added if & for statements.