second commit:more methods.待接入数据库