do some parsing