try some code, but not work well.