add:some old and naive code