added more concise methods for querying the ast