moving API towards options err standard
updated tests to account for new API