refactored sql init