updated method functions.
updated config setup.