Added STA function.