modifying factories and services