add bo and new sql structure