add a system sl & tp setup function