added new config
putting in faster c code