Make parameters configurable
Use a struct with builder and proper defaults.