Added SQL and refactored