updated ast creation
updated code