passing around Integer instead of configuration object