add initial support for compiling with different params