changed to skim code