parameterised the database name