def keyword now working