database set up for IDEA