Added secure flag