added configuration and input