removed unused rep parameter
start of kernel compiling utilities that could come of use