change note and if statment