added flags for lang