parseproto.amp basic structure