tested single case, worked
added opts