Throws an error here...It says, getConfig doesnt exist which in turn gives an error on line 31 and line 51.