getting code