some works on database