basic reference functions