modified database design