copied in shk application stack