seperate the database environment