added rtl support
updated header comment section