removing ref for dummy codes