added parsing to shell