minimal boilerplate to get sts