add complex method 'database'