implements stuffs and db script