Working dummy implementation of references