adding config and other code