add initial support for compiling with different params pt2