Added refrence functions