typo
conn string in config
removing redundant functions