adding cuda stuff