factored paramaters into separate file