added necessary tables