Adding More patch / Functions and SQLS