added basic struct parsing