adding raycast support