v1 with database loading