database functioning decently, improper order

database functioning decently, improper order