added func controls