added new api for os widget