Sec func added