implemented double, unable to test