simple ast version