Added print ast code