attempting __device__ __host__ syntax
condensed lines