added reference to used code