more organize sql/old