added alot of sql