adding db capability