adding more cuda guards