corrected echo statements, change from AND to OR.