Process development and optimization