work with references