works from JS too?