Database readded

removed duplicate stuff