initial spaceball parsing implementation