updated babel parsing